#pragma once
#include "Comm.h"

namespace COMM
{
	class COMM_API Bitset
	{
	public:

		static bool IsLittleEndian();
		static unsigned int Low(unsigned long long val);
		static unsigned int High(unsigned long long val);
		static unsigned short Low(unsigned int val);
		static unsigned short High(unsigned int val);
		static unsigned char Low(unsigned short val);
		static unsigned char High(unsigned short val);

		static unsigned long long Make(unsigned int high, unsigned int low);
		static unsigned int Make(unsigned short high, unsigned short low);
		static unsigned short Make(unsigned char high, unsigned char low);
	};

}

